import { link } from "fs";
import { text } from "stream/consumers";

export const sidebar = [
    {
        text: "依赖安装",
        items: [
            {
                text: "安装与使用",
                link: "/components/",
            }
        ],
    },
    {
        text: "基础组件",
        items: [
            {
                text: "按钮 Button",
                link: "/components/base/button",
            },
            // {
            //     text: "弹出框 Window",
            //     link: "/components/base/window",
            // },
            // {
            //     text: "默认图标 DefaultIcon",
            //     link: "/components/base/defaultIcon"
            // },
            {
                text: "图标 Icon",
                link: "/components/base/icon",
            },
            {
                text: "外链 Link",
                link: "/components/base/link",
            },
        ],
    },
    {
        text: "表单组件",
        items: [
            {
                text: "输入框 Input",
                link: "/components/form/input",
            },
            {
                text: "选择器 Select",
                link: "/components/form/select",
            },
            {
                text: "滑块 Slider",
                link: "/components/form/slider"
            },
            {
                text: "取色器 Color Picker",
                link: "/components/form/color",
            },
        ]
    },
    {
        text: "数据展示",
        items: [
            {
                text: "下拉过渡 Collapse",
                link: "/components/data/collapse"
            },
            {
                text: "轮播图 esCarousel",
                link: "/components/data/esCarousel"
            },
            {
                text: "编辑器 Editor",
                link: "/components/data/editor"
            },
            // {
            //     text:"表格 Table",
            //     link: "/components/data/table"
            // },
        ]
    },
    {
        text: "消息反馈组件",
        items: [
            {
                text: "对话框 Window",
                link: "/components/info/window"
            },
            {
                text: "加载动画 Loading",
                link: "/components/info/loading",
            },
            {
                text: "消息提示 Message",
                link: "/components/info/message",
            },
            {
                text: "消息弹出框 Message Box",
                link: "/components/info/messageBox"
            },
            {
                text: "无数据 Nodata",
                link: "/components/info/nodata"
            },
            {
                text: "文字提示 Tooltip",
                link: "/components/info/tooltip"
            }

            // {
            //     text: "开发中...",
            //     link: "/components/info/loading",
            // },

        ],
    },
    {
        text: "其他 Others",
        items: [
            {
                text: "水印 Watermark",
                link: "/components/other/watermark"
            }
        ]
    }
]
